﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Catering_Model
{
    [Serializable]
    public class TempGWJC
    {
        public TempGWJC()
        {
            m_GWModel = new Dictionary<string, TempGangWeiModel>();
        }

        private string m_GroupName;
        private Dictionary<string, TempGangWeiModel> m_GWModel;


        public Dictionary<string, TempGangWeiModel> GWModel
        {
            get { return m_GWModel; }
            set { m_GWModel = value; }
        }

        public string GroupName
        {
            get { return m_GroupName; }
            set { m_GroupName = value; }
        }
    }

    [Serializable]
    public class TempPerson
    {
        private int m_PID;
        private string m_Name;

        public string Name
        {
            get { return m_Name; }
            set { m_Name = value; }
        }

        public int PID
        {
            get { return m_PID; }
            set { m_PID = value; }
        }

    }

    [Serializable]
    public class TempFWDanWeiModel
    {
        public TempFWDanWeiModel()
        {
            m_PersonList = new Dictionary<string, TempPersonList>();
        }

        private string m_SName;
        private Dictionary<string, TempPersonList> m_PersonList;

        public Dictionary<string, TempPersonList> PersonList
        {
            get { return m_PersonList; }
            set { m_PersonList = value; }
        }

        public string SName
        {
            get { return m_SName; }
            set { m_SName = value; }
        }
    }

    [Serializable]
    public class TempGangWeiModel
    {
        public TempGangWeiModel()
        {
            m_DanWeiList = new Dictionary<string, TempFWDanWeiModel>();
        }

        private string m_ClassName;
        private Dictionary<string, TempFWDanWeiModel> m_DanWeiList;

        public Dictionary<string, TempFWDanWeiModel> DanWeiList
        {
            get { return m_DanWeiList; }
            set { m_DanWeiList = value; }
        }

        public string ClassName
        {
            get { return m_ClassName; }
            set { m_ClassName = value; }
        }
    }

    [Serializable]
    public class TempPersonList
    {
        public TempPersonList()
        {
            m_OnPerson = new Dictionary<int, TempPerson>();
            m_OutPerson = new Dictionary<int, TempPerson>();
        }

        private string m_GangWei;
        private int m_OnPersonNum = 0;
        private int m_OutPersonNum = 0;
        private Dictionary<int, TempPerson> m_OnPerson;
        private Dictionary<int, TempPerson> m_OutPerson;

        public Dictionary<int, TempPerson> OutPerson
        {
            get { return m_OutPerson; }
            set { m_OutPerson = value; }
        }

        public Dictionary<int, TempPerson> OnPerson
        {
            get { return m_OnPerson; }
            set { m_OnPerson = value; }
        }

        public int OutPersonNum
        {
            get { return m_OutPersonNum; }
            set { m_OutPersonNum = value; }
        }

        public int OnPersonNum
        {
            get { return m_OnPersonNum; }
            set { m_OnPersonNum = value; }
        }

        public string GangWei
        {
            get { return m_GangWei; }
            set { m_GangWei = value; }
        }
    }
}


